import request from '@/utils/request'

// 查询处理时间线记录列表
export function listHandleTimeLine(query) {
  return request({
    url: '/yjcz/handleTimeLine/list',
    method: 'get',
    params: query
  })
}

// 查询处理时间线记录详细
export function getHandleTimeLine(pkId) {
  return request({
    url: '/yjcz/handleTimeLine/' + pkId,
    method: 'get'
  })
}

// 新增处理时间线记录
export function addHandleTimeLine(data) {
  return request({
    url: '/yjcz/handleTimeLine',
    method: 'post',
    data: data
  })
}

// 修改处理时间线记录
export function updateHandleTimeLine(data) {
  return request({
    url: '/yjcz/handleTimeLine',
    method: 'put',
    data: data
  })
}

// 删除处理时间线记录
export function delHandleTimeLine(pkId) {
  return request({
    url: '/yjcz/handleTimeLine/' + pkId,
    method: 'delete'
  })
}
